<!DOCTYPE html>
<html lang="en" xmlns:th="htpp://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>我要成为洗车员</title>
</head>
<body>
    <form action="/cleaner/addCleaner" method="post" >
        真实姓名:
        <input type="text" name="name">
        <input  type="hidden" name="userId" th:value="${id}">
        密码:
        <input type="password" name="upwd">
        邮箱:
        <input type="email" name="email"  required pattern="^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$">
        性别:
        <input type="radio" name="sex" value="0">男
        <input type="radio" name="sex" value="1">女
        年龄:
        <input type="range" name="age" min='18' max='100' step='1'>
        手机号:
        <input type="text" name='phonenum' required pattern="1[356789]\d{9}" />
        <input type="submit" value="提交">
    </form>
</body>
</html>